package com.jiutong.meipenggang.http.model.services;

import com.jiutong.meipenggang.common.Constants;
import com.jiutong.meipenggang.entity.MainPageBean;
import com.jiutong.meipenggang.entity.MyInverstBean;
import com.jiutong.meipenggang.entity.TotalMoneyBean;

import java.util.HashMap;
import java.util.Map;

import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import rx.Observable;

/**
 * Created by bdf on 2017/12/18.
 */

public interface MainPageServices {
    @FormUrlEncoded
    @POST(Constants.SERVICES)
    Observable<MainPageBean> MainPage(@FieldMap Map<String, Object> fields);

    @FormUrlEncoded
    @POST(Constants.SERVICES)
    Observable<MyInverstBean> MyInverst(@FieldMap Map<String, Object> fields);

    @FormUrlEncoded
    @POST(Constants.SERVICES)
    Observable<TotalMoneyBean> TotalMoney(@FieldMap HashMap<String, Object> fieldsMap);
}
